home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19970929-19971216 / 000184_news@newsmaster….columbia.edu _Mon Oct 27 22:09:28 1997.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA14673
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 27 Oct 1997 22:09:28 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id WAA01695
  7.     for kermit.misc@watsun; Mon, 27 Oct 1997 22:09:28 -0500 (EST)
  8. Path: news.columbia.edu!panix!howland.erols.net!news.maxwell.syr.edu!cam-news-hub1.bbnplanet.com!news.bbnplanet.com!prodigy.com!nntp.earthlink.net!usenet
  9. From: Bill <pearson@earthlink.net>
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Using variable in SET commands...
  12. Date: Mon, 27 Oct 1997 18:20:44 -0800
  13. Organization: FNIC
  14. Lines: 25
  15. Message-ID: <34554BFB.C864758D@earthlink.net>
  16. NNTP-Posting-Host: 207.217.15.100
  17. Mime-Version: 1.0
  18. Content-Type: text/plain; charset=us-ascii
  19. Content-Transfer-Encoding: 7bit
  20. X-Mailer: Mozilla 4.0 [en] (WinNT; I)
  21. X-Priority: 3 (Normal)
  22. Xref: news.columbia.edu comp.protocols.kermit.misc:7964
  23.  
  24. Hi,
  25.  
  26. I'm trying to use the "Built-in Variables" for some of my scripting. I would
  27. like to be able to set them, specifically \v(user), \v(password), and
  28. \v(printer). At the command prompt I can set them using the SET commands, e.g.
  29. SET LOGIN USER <username>. However, when I attempt this using a variable (\%a)
  30. or a macro (\m(username)), only the literal value gets placed in the "Built-in
  31. Variables".
  32.  
  33. Is there a way to de-reference the variables/macros within the SET commands? Or,
  34. access the "Built-in Variables" directly within a script, i.e. define \v(user)
  35. {\m(username)}?
  36.  
  37. Thanks for your help in advance.
  38.  
  39. BTW: I'm using K95 on an Intel NT4.0 (build 1381 service pack 3) to access an
  40. OPENVMS/Alpha across an ethernet LAN.
  41.  
  42. --
  43. William Pearson  FNIC    pearsob@fnic.net
  44.    Suite #150  pearson@earthlink.net
  45.    2780 Skypark Drive
  46.    Torrance, CA 90505 (310) 326-3100 x205
  47.  
  48.